import {createApp} from 'vue'
import App from './App.vue'

import router from './router'
import store from './store'

import 'normalize.css/normalize.css'

import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import svgIcon from "@/components/SvgIcon.vue";
import 'virtual:svg-icons-register'

import "element-plus/theme-chalk/el-loading.css";
import "element-plus/theme-chalk/el-message.css";
import "element-plus/theme-chalk/el-notification.css";
import "element-plus/theme-chalk/el-message-box.css";

import './style.css'

createApp(App)
    .component('svg-icon', svgIcon)
    .use(ElementPlus, {
        locale: zhCn,
    })
    .use(router)
    .use(store)
    .mount('#app')
